| Fully Qualified Name: | CodeIgniter\Database\Exceptions\DataException |
| Extends: | RuntimeException |
| Implements: | ExceptionInterface |
| Name | Description | Defined By |
|---|---|---|
| forEmptyDataset() | Used by Model's insert/update methods when there isn't any data to actually work with. | DataException |
| forEmptyInputGiven() | DataException | |
| forFindColumnHaveMultipleColumns() | DataException | |
| forInvalidAllowedFields() | DataException | |
| forInvalidArgument() | Thrown when an argument for one of the Model's methods were empty or otherwise invalid, and they could not be to work correctly for that method. | DataException |
| forInvalidMethodTriggered() | Used by the Model's trigger() method when the callback cannot be found. | DataException |
| forTableNotFound() | DataException |
Used by Model's insert/update methods when there isn't any data to actually work with.
| Parameter Name | Type | Description |
|---|---|---|
| $mode | string |
Returns: \CodeIgniter\Database\Exceptions\DataException
| Parameter Name | Type | Description |
|---|---|---|
| $argument |
Returns: void
Returns: void
| Parameter Name | Type | Description |
|---|---|---|
| $model |
Returns: void
Thrown when an argument for one of the Model's methods were empty or otherwise invalid, and they could not be to work correctly for that method.
| Parameter Name | Type | Description |
|---|---|---|
| $argument | string |
Returns: \CodeIgniter\Database\Exceptions\DataException
Used by the Model's trigger() method when the callback cannot be found.
| Parameter Name | Type | Description |
|---|---|---|
| $method | string |
Returns: \CodeIgniter\Database\Exceptions\DataException
| Parameter Name | Type | Description |
|---|---|---|
| $table |
Returns: void